﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Yan.Net.Tool.Ex
{
    public class DataAccessException : Exception
    {
        public CodeEnums Code { get; set; }
        public DataAccessException(string message, CodeEnums code, Exception innerException)
            : base(message, innerException)
        {
            Code = code;
        }
    }
}
